import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import SlideVerify from 'vue-monoplasty-slide-verify';
// 引入loading （里面包含了全局loading和局部load）
import loading from './directive/loading' 
Vue.use(loading);
//图片懒加载
import imgLazy from '@/directive/imgLazy.js'
Vue.directive('imgLazy', imgLazy);

Vue.use(SlideVerify);
Vue.config.productionTip = false
//定义全局变量
//语法vue.prototype.xxx=''
//一般使用这种方式定义的变量在组件中是不建议修改的
Vue.prototype.imgBaseUrl='https://sc.wolfcode.cn'
//引入初始化样式
import 'reset-css'
//引入版心
import '@/assets/css/public.less'
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
